<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<!DOCTYPE HTML>
<html lang="zh-CN">
<meta charset="<?php $this->options->charset(); ?>">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
<?php $this->header(); ?>
    <title>
        <?php $this->archiveTitle(array(
        'category'  =>  _t('分类 %s 下的文章'),
        'search'    =>  _t('包含关键字 %s 的文章'),
        'tag'       =>  _t('标签 %s 下的文章'),
        'author'    =>  _t('%s 发布的文章')
    ), '', ' - '); ?>
            <?php $this->options->title(); ?>
    </title>
    <link href="//cdn.bootcss.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet">
    <link href="<?php $this->options->themeUrl('css/font-awesome.css'); ?>" rel="stylesheet">
    <link href="//cdn.bootcss.com/fancybox/2.1.5/jquery.fancybox.css" rel="stylesheet">
    <link rel="stylesheet" href="<?php $this->options->themeUrl('css/main.css'); ?>">
    <link href="//cdn.bootcss.com/prettify/r298/prettify.css" rel="stylesheet">
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <!-- 通过自有函数输出HTML头部信息 -->
    <script type="text/javascript" src="http://echarts.baidu.com/build/dist/echarts.js"></script>
    <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>

    <script>
    var duoshuoQuery = {
        short_name: "maydaycoder"
    };
    </script>
</head>

<body>
    <header class="site-header">
        <div class="container">
            <div class="row">
                <nav class="navbar navbar-default" role="navigation">
                    <div class="navbar-header col-xs-12 col-sm-12 col-md-3 col-lg-3 center">
                        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#example-navbar-collapse">
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                        </button>
                        <div class="sitehome">
                            <a id="logo" title="首页">
                            <i class="fa fa-home fa-2x homeicon"></i>
                                <?php if ($this->options->logoUrl): ?>
                                    <a class="site-title" href="<?php $this->options->siteUrl(); ?>">
                                        <img src="<?php $this->options->logoUrl() ?>" alt="<?php $this->options->title() ?>" />
                                    </a>
                                <?php endif; ?>
                                <a class="site-title" href="<?php $this->options->siteUrl(); ?>">
                                <?php $this->options->title() ?>
                                </a>
                            </a>
                        </div>
                    </div>
                    <div class="col-md-6 col-lg-6 hidden-xs hidden-sm center">
                        <nav class="site-nav">
                            <ul class="nav nav-pills">
                                <li class="phoneselect">
                                    <a class="page-link pjaxlink" href="<?php $this->options->siteUrl(); ?>"><?php _e('首页'); ?></a>
                                </li>
                                <?php $this->widget('Widget_Contents_Page_List')->to($pages); ?>
                                <?php while($pages->next()): ?>
                                <li class="phoneselect">
                                    <a class="page-link pjaxlink" href="<?php $pages->permalink(); ?>" title="<?php $pages->title(); ?>"><?php $pages->title(); ?></a>
                                </li>
                                <?php endwhile; ?>
                            </ul>
                        </nav>
                    </div>
                    <div class="col-md-3 col-lg-3 hidden-xs hidden-sm">
                        <div class="search">
                            <input type="text" class="search-query st-default-search-input" placeholder="Search">
                        </div>
                    </div>
                    <div class="collapse navbar-collapse" id="example-navbar-collapse">
                        <ul class="nav navbar-nav phone-nav center">
                            <li class="phoneselect">
                                <a class="page-link pjaxlink" href="<?php $this->options->siteUrl(); ?>"><i class="fa fa-home"></i>&nbsp;<?php _e('首页'); ?></a>
                            </li>
                            <?php $this->widget('Widget_Contents_Page_List')->to($pages); ?>
                            <?php while($pages->next()): ?>
                            <li class="phoneselect">
                                <a class="page-link pjaxlink" href="<?php $pages->permalink(); ?>" title="<?php $pages->title(); ?>"><i class="fa fa-home"></i>&nbsp;<?php $pages->title(); ?></a>
                            </li>
                            <?php endwhile; ?>
                        </ul>
                    </div>
                </nav>
            </div>
        </div>
    </header>
<div class="content">
        <div class="container">
            <div class="row">